Integrand size = 45, antiderivative size = 284 \[ \int (a+a \cos (c+d x))^{3/2} \left (A+B \cos (c+d x)+C \cos ^2(c+d x)\right ) \sec ^{\frac {13}{2}}(c+d x) \, dx=\frac {16 a^2 (336 A+374 B+429 C) \sqrt {\sec (c+d x)} \sin (c+d x)}{3465 d \sqrt {a+a \cos (c+d x)}}+\frac {8 a^2 (336 A+374 B+429 C) \sec ^{\frac {3}{2}}(c+d x) \sin (c+d x)}{3465 d \sqrt {a+a \cos (c+d x)}}+\frac {2 a^2 (336 A+374 B+429 C) \sec ^{\frac {5}{2}}(c+d x) \sin (c+d x)}{1155 d \sqrt {a+a \cos (c+d x)}}+\frac {2 a^2 (84 A+110 B+99 C) \sec ^{\frac {7}{2}}(c+d x) \sin (c+d x)}{693 d \sqrt {a+a \cos (c+d x)}}+\frac {2 a (3 A+11 B) \sqrt {a+a \cos (c+d x)} \sec ^{\frac {9}{2}}(c+d x) \sin (c+d x)}{99 d}+\frac {2 A (a+a \cos (c+d x))^{3/2} \sec ^{\frac {11}{2}}(c+d x) \sin (c+d x)}{11 d} \]
2/11*A*(a+a*cos(d*x+c))^(3/2)*sec(d*x+c)^(11/2)*sin(d*x+c)/d+8/3465*a^2*(3 36*A+374*B+429*C)*sec(d*x+c)^(3/2)*sin(d*x+c)/d/(a+a*cos(d*x+c))^(1/2)+2/1 155*a^2*(336*A+374*B+429*C)*sec(d*x+c)^(5/2)*sin(d*x+c)/d/(a+a*cos(d*x+c)) ^(1/2)+2/693*a^2*(84*A+110*B+99*C)*sec(d*x+c)^(7/2)*sin(d*x+c)/d/(a+a*cos( d*x+c))^(1/2)+2/99*a*(3*A+11*B)*sec(d*x+c)^(9/2)*sin(d*x+c)*(a+a*cos(d*x+c ))^(1/2)/d+16/3465*a^2*(336*A+374*B+429*C)*sin(d*x+c)*sec(d*x+c)^(1/2)/d/( a+a*cos(d*x+c))^(1/2)
Time = 0.73 (sec) , antiderivative size = 187, normalized size of antiderivative = 0.66 \[ \int (a+a \cos (c+d x))^{3/2} \left (A+B \cos (c+d x)+C \cos ^2(c+d x)\right ) \sec ^{\frac {13}{2}}(c+d x) \, dx=\frac {a \sqrt {a (1+\cos (c+d x))} (4956 A+4114 B+3564 C+(12684 A+12386 B+12441 C) \cos (c+d x)+(4368 A+4862 B+4422 C) \cos (2 (c+d x))+4368 A \cos (3 (c+d x))+4862 B \cos (3 (c+d x))+5577 C \cos (3 (c+d x))+672 A \cos (4 (c+d x))+748 B \cos (4 (c+d x))+858 C \cos (4 (c+d x))+672 A \cos (5 (c+d x))+748 B \cos (5 (c+d x))+858 C \cos (5 (c+d x))) \sec ^{\frac {11}{2}}(c+d x) \tan \left (\frac {1}{2} (c+d x)\right )}{6930 d} \]
Integrate[(a + a*Cos[c + d*x])^(3/2)*(A + B*Cos[c + d*x] + C*Cos[c + d*x]^ 2)*Sec[c + d*x]^(13/2),x]
(a*Sqrt[a*(1 + Cos[c + d*x])]*(4956*A + 4114*B + 3564*C + (12684*A + 12386 *B + 12441*C)*Cos[c + d*x] + (4368*A + 4862*B + 4422*C)*Cos[2*(c + d*x)] + 4368*A*Cos[3*(c + d*x)] + 4862*B*Cos[3*(c + d*x)] + 5577*C*Cos[3*(c + d*x )] + 672*A*Cos[4*(c + d*x)] + 748*B*Cos[4*(c + d*x)] + 858*C*Cos[4*(c + d* x)] + 672*A*Cos[5*(c + d*x)] + 748*B*Cos[5*(c + d*x)] + 858*C*Cos[5*(c + d *x)])*Sec[c + d*x]^(11/2)*Tan[(c + d*x)/2])/(6930*d)
Time = 1.75 (sec) , antiderivative size = 307, normalized size of antiderivative = 1.08, number of steps used = 16, number of rules used = 16, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.356, Rules used = {3042, 4709, 3042, 3522, 27, 3042, 3454, 27, 3042, 3459, 3042, 3251, 3042, 3251, 3042, 3250}
Below are the steps used by Rubi to obtain the solution. The rule number used for the transformation is given above next to the arrow. The rules definitions used are listed below.
\(\displaystyle \int \sec ^{\frac {13}{2}}(c+d x) (a \cos (c+d x)+a)^{3/2} \left (A+B \cos (c+d x)+C \cos ^2(c+d x)\right ) \, dx\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \int \sec (c+d x)^{13/2} (a \cos (c+d x)+a)^{3/2} \left (A+B \cos (c+d x)+C \cos (c+d x)^2\right )dx\) |
\(\Big \downarrow \) 4709 |
\(\displaystyle \sqrt {\cos (c+d x)} \sqrt {\sec (c+d x)} \int \frac {(\cos (c+d x) a+a)^{3/2} \left (C \cos ^2(c+d x)+B \cos (c+d x)+A\right )}{\cos ^{\frac {13}{2}}(c+d x)}dx\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \sqrt {\cos (c+d x)} \sqrt {\sec (c+d x)} \int \frac {\left (\sin \left (c+d x+\frac {\pi }{2}\right ) a+a\right )^{3/2} \left (C \sin \left (c+d x+\frac {\pi }{2}\right )^2+B \sin \left (c+d x+\frac {\pi }{2}\right )+A\right )}{\sin \left (c+d x+\frac {\pi }{2}\right )^{13/2}}dx\) |
\(\Big \downarrow \) 3522 |
\(\displaystyle \sqrt {\cos (c+d x)} \sqrt {\sec (c+d x)} \left (\frac {2 \int \frac {(\cos (c+d x) a+a)^{3/2} (a (3 A+11 B)+a (6 A+11 C) \cos (c+d x))}{2 \cos ^{\frac {11}{2}}(c+d x)}dx}{11 a}+\frac {2 A \sin (c+d x) (a \cos (c+d x)+a)^{3/2}}{11 d \cos ^{\frac {11}{2}}(c+d x)}\right )\) |
\(\Big \downarrow \) 27 |
\(\displaystyle \sqrt {\cos (c+d x)} \sqrt {\sec (c+d x)} \left (\frac {\int \frac {(\cos (c+d x) a+a)^{3/2} (a (3 A+11 B)+a (6 A+11 C) \cos (c+d x))}{\cos ^{\frac {11}{2}}(c+d x)}dx}{11 a}+\frac {2 A \sin (c+d x) (a \cos (c+d x)+a)^{3/2}}{11 d \cos ^{\frac {11}{2}}(c+d x)}\right )\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \sqrt {\cos (c+d x)} \sqrt {\sec (c+d x)} \left (\frac {\int \frac {\left (\sin \left (c+d x+\frac {\pi }{2}\right ) a+a\right )^{3/2} \left (a (3 A+11 B)+a (6 A+11 C) \sin \left (c+d x+\frac {\pi }{2}\right )\right )}{\sin \left (c+d x+\frac {\pi }{2}\right )^{11/2}}dx}{11 a}+\frac {2 A \sin (c+d x) (a \cos (c+d x)+a)^{3/2}}{11 d \cos ^{\frac {11}{2}}(c+d x)}\right )\) |
\(\Big \downarrow \) 3454 |
\(\displaystyle \sqrt {\cos (c+d x)} \sqrt {\sec (c+d x)} \left (\frac {\frac {2}{9} \int \frac {\sqrt {\cos (c+d x) a+a} \left ((84 A+110 B+99 C) a^2+3 (24 A+22 B+33 C) \cos (c+d x) a^2\right )}{2 \cos ^{\frac {9}{2}}(c+d x)}dx+\frac {2 a^2 (3 A+11 B) \sin (c+d x) \sqrt {a \cos (c+d x)+a}}{9 d \cos ^{\frac {9}{2}}(c+d x)}}{11 a}+\frac {2 A \sin (c+d x) (a \cos (c+d x)+a)^{3/2}}{11 d \cos ^{\frac {11}{2}}(c+d x)}\right )\) |
\(\Big \downarrow \) 27 |
\(\displaystyle \sqrt {\cos (c+d x)} \sqrt {\sec (c+d x)} \left (\frac {\frac {1}{9} \int \frac {\sqrt {\cos (c+d x) a+a} \left ((84 A+110 B+99 C) a^2+3 (24 A+22 B+33 C) \cos (c+d x) a^2\right )}{\cos ^{\frac {9}{2}}(c+d x)}dx+\frac {2 a^2 (3 A+11 B) \sin (c+d x) \sqrt {a \cos (c+d x)+a}}{9 d \cos ^{\frac {9}{2}}(c+d x)}}{11 a}+\frac {2 A \sin (c+d x) (a \cos (c+d x)+a)^{3/2}}{11 d \cos ^{\frac {11}{2}}(c+d x)}\right )\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \sqrt {\cos (c+d x)} \sqrt {\sec (c+d x)} \left (\frac {\frac {1}{9} \int \frac {\sqrt {\sin \left (c+d x+\frac {\pi }{2}\right ) a+a} \left ((84 A+110 B+99 C) a^2+3 (24 A+22 B+33 C) \sin \left (c+d x+\frac {\pi }{2}\right ) a^2\right )}{\sin \left (c+d x+\frac {\pi }{2}\right )^{9/2}}dx+\frac {2 a^2 (3 A+11 B) \sin (c+d x) \sqrt {a \cos (c+d x)+a}}{9 d \cos ^{\frac {9}{2}}(c+d x)}}{11 a}+\frac {2 A \sin (c+d x) (a \cos (c+d x)+a)^{3/2}}{11 d \cos ^{\frac {11}{2}}(c+d x)}\right )\) |
\(\Big \downarrow \) 3459 |
\(\displaystyle \sqrt {\cos (c+d x)} \sqrt {\sec (c+d x)} \left (\frac {\frac {1}{9} \left (\frac {3}{7} a^2 (336 A+374 B+429 C) \int \frac {\sqrt {\cos (c+d x) a+a}}{\cos ^{\frac {7}{2}}(c+d x)}dx+\frac {2 a^3 (84 A+110 B+99 C) \sin (c+d x)}{7 d \cos ^{\frac {7}{2}}(c+d x) \sqrt {a \cos (c+d x)+a}}\right )+\frac {2 a^2 (3 A+11 B) \sin (c+d x) \sqrt {a \cos (c+d x)+a}}{9 d \cos ^{\frac {9}{2}}(c+d x)}}{11 a}+\frac {2 A \sin (c+d x) (a \cos (c+d x)+a)^{3/2}}{11 d \cos ^{\frac {11}{2}}(c+d x)}\right )\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \sqrt {\cos (c+d x)} \sqrt {\sec (c+d x)} \left (\frac {\frac {1}{9} \left (\frac {3}{7} a^2 (336 A+374 B+429 C) \int \frac {\sqrt {\sin \left (c+d x+\frac {\pi }{2}\right ) a+a}}{\sin \left (c+d x+\frac {\pi }{2}\right )^{7/2}}dx+\frac {2 a^3 (84 A+110 B+99 C) \sin (c+d x)}{7 d \cos ^{\frac {7}{2}}(c+d x) \sqrt {a \cos (c+d x)+a}}\right )+\frac {2 a^2 (3 A+11 B) \sin (c+d x) \sqrt {a \cos (c+d x)+a}}{9 d \cos ^{\frac {9}{2}}(c+d x)}}{11 a}+\frac {2 A \sin (c+d x) (a \cos (c+d x)+a)^{3/2}}{11 d \cos ^{\frac {11}{2}}(c+d x)}\right )\) |
\(\Big \downarrow \) 3251 |
\(\displaystyle \sqrt {\cos (c+d x)} \sqrt {\sec (c+d x)} \left (\frac {\frac {1}{9} \left (\frac {3}{7} a^2 (336 A+374 B+429 C) \left (\frac {4}{5} \int \frac {\sqrt {\cos (c+d x) a+a}}{\cos ^{\frac {5}{2}}(c+d x)}dx+\frac {2 a \sin (c+d x)}{5 d \cos ^{\frac {5}{2}}(c+d x) \sqrt {a \cos (c+d x)+a}}\right )+\frac {2 a^3 (84 A+110 B+99 C) \sin (c+d x)}{7 d \cos ^{\frac {7}{2}}(c+d x) \sqrt {a \cos (c+d x)+a}}\right )+\frac {2 a^2 (3 A+11 B) \sin (c+d x) \sqrt {a \cos (c+d x)+a}}{9 d \cos ^{\frac {9}{2}}(c+d x)}}{11 a}+\frac {2 A \sin (c+d x) (a \cos (c+d x)+a)^{3/2}}{11 d \cos ^{\frac {11}{2}}(c+d x)}\right )\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \sqrt {\cos (c+d x)} \sqrt {\sec (c+d x)} \left (\frac {\frac {1}{9} \left (\frac {3}{7} a^2 (336 A+374 B+429 C) \left (\frac {4}{5} \int \frac {\sqrt {\sin \left (c+d x+\frac {\pi }{2}\right ) a+a}}{\sin \left (c+d x+\frac {\pi }{2}\right )^{5/2}}dx+\frac {2 a \sin (c+d x)}{5 d \cos ^{\frac {5}{2}}(c+d x) \sqrt {a \cos (c+d x)+a}}\right )+\frac {2 a^3 (84 A+110 B+99 C) \sin (c+d x)}{7 d \cos ^{\frac {7}{2}}(c+d x) \sqrt {a \cos (c+d x)+a}}\right )+\frac {2 a^2 (3 A+11 B) \sin (c+d x) \sqrt {a \cos (c+d x)+a}}{9 d \cos ^{\frac {9}{2}}(c+d x)}}{11 a}+\frac {2 A \sin (c+d x) (a \cos (c+d x)+a)^{3/2}}{11 d \cos ^{\frac {11}{2}}(c+d x)}\right )\) |
\(\Big \downarrow \) 3251 |
\(\displaystyle \sqrt {\cos (c+d x)} \sqrt {\sec (c+d x)} \left (\frac {\frac {1}{9} \left (\frac {3}{7} a^2 (336 A+374 B+429 C) \left (\frac {4}{5} \left (\frac {2}{3} \int \frac {\sqrt {\cos (c+d x) a+a}}{\cos ^{\frac {3}{2}}(c+d x)}dx+\frac {2 a \sin (c+d x)}{3 d \cos ^{\frac {3}{2}}(c+d x) \sqrt {a \cos (c+d x)+a}}\right )+\frac {2 a \sin (c+d x)}{5 d \cos ^{\frac {5}{2}}(c+d x) \sqrt {a \cos (c+d x)+a}}\right )+\frac {2 a^3 (84 A+110 B+99 C) \sin (c+d x)}{7 d \cos ^{\frac {7}{2}}(c+d x) \sqrt {a \cos (c+d x)+a}}\right )+\frac {2 a^2 (3 A+11 B) \sin (c+d x) \sqrt {a \cos (c+d x)+a}}{9 d \cos ^{\frac {9}{2}}(c+d x)}}{11 a}+\frac {2 A \sin (c+d x) (a \cos (c+d x)+a)^{3/2}}{11 d \cos ^{\frac {11}{2}}(c+d x)}\right )\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \sqrt {\cos (c+d x)} \sqrt {\sec (c+d x)} \left (\frac {\frac {1}{9} \left (\frac {3}{7} a^2 (336 A+374 B+429 C) \left (\frac {4}{5} \left (\frac {2}{3} \int \frac {\sqrt {\sin \left (c+d x+\frac {\pi }{2}\right ) a+a}}{\sin \left (c+d x+\frac {\pi }{2}\right )^{3/2}}dx+\frac {2 a \sin (c+d x)}{3 d \cos ^{\frac {3}{2}}(c+d x) \sqrt {a \cos (c+d x)+a}}\right )+\frac {2 a \sin (c+d x)}{5 d \cos ^{\frac {5}{2}}(c+d x) \sqrt {a \cos (c+d x)+a}}\right )+\frac {2 a^3 (84 A+110 B+99 C) \sin (c+d x)}{7 d \cos ^{\frac {7}{2}}(c+d x) \sqrt {a \cos (c+d x)+a}}\right )+\frac {2 a^2 (3 A+11 B) \sin (c+d x) \sqrt {a \cos (c+d x)+a}}{9 d \cos ^{\frac {9}{2}}(c+d x)}}{11 a}+\frac {2 A \sin (c+d x) (a \cos (c+d x)+a)^{3/2}}{11 d \cos ^{\frac {11}{2}}(c+d x)}\right )\) |
\(\Big \downarrow \) 3250 |
\(\displaystyle \sqrt {\cos (c+d x)} \sqrt {\sec (c+d x)} \left (\frac {\frac {2 a^2 (3 A+11 B) \sin (c+d x) \sqrt {a \cos (c+d x)+a}}{9 d \cos ^{\frac {9}{2}}(c+d x)}+\frac {1}{9} \left (\frac {2 a^3 (84 A+110 B+99 C) \sin (c+d x)}{7 d \cos ^{\frac {7}{2}}(c+d x) \sqrt {a \cos (c+d x)+a}}+\frac {3}{7} a^2 (336 A+374 B+429 C) \left (\frac {2 a \sin (c+d x)}{5 d \cos ^{\frac {5}{2}}(c+d x) \sqrt {a \cos (c+d x)+a}}+\frac {4}{5} \left (\frac {2 a \sin (c+d x)}{3 d \cos ^{\frac {3}{2}}(c+d x) \sqrt {a \cos (c+d x)+a}}+\frac {4 a \sin (c+d x)}{3 d \sqrt {\cos (c+d x)} \sqrt {a \cos (c+d x)+a}}\right )\right )\right )}{11 a}+\frac {2 A \sin (c+d x) (a \cos (c+d x)+a)^{3/2}}{11 d \cos ^{\frac {11}{2}}(c+d x)}\right )\) |
Int[(a + a*Cos[c + d*x])^(3/2)*(A + B*Cos[c + d*x] + C*Cos[c + d*x]^2)*Sec [c + d*x]^(13/2),x]
Sqrt[Cos[c + d*x]]*Sqrt[Sec[c + d*x]]*((2*A*(a + a*Cos[c + d*x])^(3/2)*Sin [c + d*x])/(11*d*Cos[c + d*x]^(11/2)) + ((2*a^2*(3*A + 11*B)*Sqrt[a + a*Co s[c + d*x]]*Sin[c + d*x])/(9*d*Cos[c + d*x]^(9/2)) + ((2*a^3*(84*A + 110*B + 99*C)*Sin[c + d*x])/(7*d*Cos[c + d*x]^(7/2)*Sqrt[a + a*Cos[c + d*x]]) + (3*a^2*(336*A + 374*B + 429*C)*((2*a*Sin[c + d*x])/(5*d*Cos[c + d*x]^(5/2 )*Sqrt[a + a*Cos[c + d*x]]) + (4*((2*a*Sin[c + d*x])/(3*d*Cos[c + d*x]^(3/ 2)*Sqrt[a + a*Cos[c + d*x]]) + (4*a*Sin[c + d*x])/(3*d*Sqrt[Cos[c + d*x]]* Sqrt[a + a*Cos[c + d*x]])))/5))/7)/9)/(11*a))
3.14.18.3.1 Defintions of rubi rules used
Int[(a_)*(Fx_), x_Symbol] :> Simp[a Int[Fx, x], x] /; FreeQ[a, x] && !Ma tchQ[Fx, (b_)*(Gx_) /; FreeQ[b, x]]
Int[Sqrt[(a_) + (b_.)*sin[(e_.) + (f_.)*(x_)]]/((c_.) + (d_.)*sin[(e_.) + ( f_.)*(x_)])^(3/2), x_Symbol] :> Simp[-2*b^2*(Cos[e + f*x]/(f*(b*c + a*d)*Sq rt[a + b*Sin[e + f*x]]*Sqrt[c + d*Sin[e + f*x]])), x] /; FreeQ[{a, b, c, d, e, f}, x] && NeQ[b*c - a*d, 0] && EqQ[a^2 - b^2, 0] && NeQ[c^2 - d^2, 0]
Int[Sqrt[(a_) + (b_.)*sin[(e_.) + (f_.)*(x_)]]*((c_.) + (d_.)*sin[(e_.) + ( f_.)*(x_)])^(n_), x_Symbol] :> Simp[(b*c - a*d)*Cos[e + f*x]*((c + d*Sin[e + f*x])^(n + 1)/(f*(n + 1)*(c^2 - d^2)*Sqrt[a + b*Sin[e + f*x]])), x] + Sim p[(2*n + 3)*((b*c - a*d)/(2*b*(n + 1)*(c^2 - d^2))) Int[Sqrt[a + b*Sin[e + f*x]]*(c + d*Sin[e + f*x])^(n + 1), x], x] /; FreeQ[{a, b, c, d, e, f}, x ] && NeQ[b*c - a*d, 0] && EqQ[a^2 - b^2, 0] && NeQ[c^2 - d^2, 0] && LtQ[n, -1] && NeQ[2*n + 3, 0] && IntegerQ[2*n]
Int[((a_) + (b_.)*sin[(e_.) + (f_.)*(x_)])^(m_)*((A_.) + (B_.)*sin[(e_.) + (f_.)*(x_)])*((c_.) + (d_.)*sin[(e_.) + (f_.)*(x_)])^(n_), x_Symbol] :> Sim p[(-b^2)*(B*c - A*d)*Cos[e + f*x]*(a + b*Sin[e + f*x])^(m - 1)*((c + d*Sin[ e + f*x])^(n + 1)/(d*f*(n + 1)*(b*c + a*d))), x] - Simp[b/(d*(n + 1)*(b*c + a*d)) Int[(a + b*Sin[e + f*x])^(m - 1)*(c + d*Sin[e + f*x])^(n + 1)*Simp [a*A*d*(m - n - 2) - B*(a*c*(m - 1) + b*d*(n + 1)) - (A*b*d*(m + n + 1) - B *(b*c*m - a*d*(n + 1)))*Sin[e + f*x], x], x], x] /; FreeQ[{a, b, c, d, e, f , A, B}, x] && NeQ[b*c - a*d, 0] && EqQ[a^2 - b^2, 0] && NeQ[c^2 - d^2, 0] && GtQ[m, 1/2] && LtQ[n, -1] && IntegerQ[2*m] && (IntegerQ[2*n] || EqQ[c, 0 ])
Int[Sqrt[(a_) + (b_.)*sin[(e_.) + (f_.)*(x_)]]*((A_.) + (B_.)*sin[(e_.) + ( f_.)*(x_)])*((c_.) + (d_.)*sin[(e_.) + (f_.)*(x_)])^(n_), x_Symbol] :> Simp [(-b^2)*(B*c - A*d)*Cos[e + f*x]*((c + d*Sin[e + f*x])^(n + 1)/(d*f*(n + 1) *(b*c + a*d)*Sqrt[a + b*Sin[e + f*x]])), x] + Simp[(A*b*d*(2*n + 3) - B*(b* c - 2*a*d*(n + 1)))/(2*d*(n + 1)*(b*c + a*d)) Int[Sqrt[a + b*Sin[e + f*x] ]*(c + d*Sin[e + f*x])^(n + 1), x], x] /; FreeQ[{a, b, c, d, e, f, A, B}, x ] && NeQ[b*c - a*d, 0] && EqQ[a^2 - b^2, 0] && NeQ[c^2 - d^2, 0] && LtQ[n, -1]
Int[((a_) + (b_.)*sin[(e_.) + (f_.)*(x_)])^(m_.)*((c_.) + (d_.)*sin[(e_.) + (f_.)*(x_)])^(n_)*((A_.) + (B_.)*sin[(e_.) + (f_.)*(x_)] + (C_.)*sin[(e_.) + (f_.)*(x_)]^2), x_Symbol] :> Simp[(-(c^2*C - B*c*d + A*d^2))*Cos[e + f*x ]*(a + b*Sin[e + f*x])^m*((c + d*Sin[e + f*x])^(n + 1)/(d*f*(n + 1)*(c^2 - d^2))), x] + Simp[1/(b*d*(n + 1)*(c^2 - d^2)) Int[(a + b*Sin[e + f*x])^m* (c + d*Sin[e + f*x])^(n + 1)*Simp[A*d*(a*d*m + b*c*(n + 1)) + (c*C - B*d)*( a*c*m + b*d*(n + 1)) + b*(d*(B*c - A*d)*(m + n + 2) - C*(c^2*(m + 1) + d^2* (n + 1)))*Sin[e + f*x], x], x], x] /; FreeQ[{a, b, c, d, e, f, A, B, C, m}, x] && NeQ[b*c - a*d, 0] && EqQ[a^2 - b^2, 0] && NeQ[c^2 - d^2, 0] && !LtQ [m, -2^(-1)] && (LtQ[n, -1] || EqQ[m + n + 2, 0])
Int[(u_)*((c_.)*sec[(a_.) + (b_.)*(x_)])^(m_.), x_Symbol] :> Simp[(c*Sec[a + b*x])^m*(c*Cos[a + b*x])^m Int[ActivateTrig[u]/(c*Cos[a + b*x])^m, x], x] /; FreeQ[{a, b, c, m}, x] && !IntegerQ[m] && KnownSineIntegrandQ[u, x]
Time = 2.22 (sec) , antiderivative size = 182, normalized size of antiderivative = 0.64
method | result | size |
default | \(-\frac {2 a \left (\cos \left (d x +c \right )-1\right ) \left (\left (2688 \left (\cos ^{5}\left (d x +c \right )\right )+1344 \left (\cos ^{4}\left (d x +c \right )\right )+1008 \left (\cos ^{3}\left (d x +c \right )\right )+840 \left (\cos ^{2}\left (d x +c \right )\right )+735 \cos \left (d x +c \right )+315\right ) A +\cos \left (d x +c \right ) \left (2992 \left (\cos ^{4}\left (d x +c \right )\right )+1496 \left (\cos ^{3}\left (d x +c \right )\right )+1122 \left (\cos ^{2}\left (d x +c \right )\right )+935 \cos \left (d x +c \right )+385\right ) B +\left (\cos ^{2}\left (d x +c \right )\right ) \left (3432 \left (\cos ^{3}\left (d x +c \right )\right )+1716 \left (\cos ^{2}\left (d x +c \right )\right )+1287 \cos \left (d x +c \right )+495\right ) C \right ) \sqrt {\left (1+\cos \left (d x +c \right )\right ) a}\, \left (\sec ^{\frac {13}{2}}\left (d x +c \right )\right ) \cot \left (d x +c \right )}{3465 d}\) | \(182\) |
parts | \(-\frac {2 A a \sqrt {\left (1+\cos \left (d x +c \right )\right ) a}\, \left (\sec ^{\frac {13}{2}}\left (d x +c \right )\right ) \left (128 \left (\cos ^{6}\left (d x +c \right )\right )-64 \left (\cos ^{5}\left (d x +c \right )\right )-16 \left (\cos ^{4}\left (d x +c \right )\right )-8 \left (\cos ^{3}\left (d x +c \right )\right )-5 \left (\cos ^{2}\left (d x +c \right )\right )-20 \cos \left (d x +c \right )-15\right ) \cot \left (d x +c \right )}{165 d}+\frac {2 B a \sin \left (d x +c \right ) \left (272 \left (\cos ^{4}\left (d x +c \right )\right )+136 \left (\cos ^{3}\left (d x +c \right )\right )+102 \left (\cos ^{2}\left (d x +c \right )\right )+85 \cos \left (d x +c \right )+35\right ) \left (\sec ^{\frac {13}{2}}\left (d x +c \right )\right ) \sqrt {\left (1+\cos \left (d x +c \right )\right ) a}\, \left (\cos ^{2}\left (d x +c \right )\right )}{315 d \left (1+\cos \left (d x +c \right )\right )}+\frac {2 C a \sin \left (d x +c \right ) \left (104 \left (\cos ^{3}\left (d x +c \right )\right )+52 \left (\cos ^{2}\left (d x +c \right )\right )+39 \cos \left (d x +c \right )+15\right ) \sqrt {\left (1+\cos \left (d x +c \right )\right ) a}\, \left (\sec ^{\frac {13}{2}}\left (d x +c \right )\right ) \left (\cos ^{3}\left (d x +c \right )\right )}{105 d \left (1+\cos \left (d x +c \right )\right )}\) | \(267\) |
int((a+a*cos(d*x+c))^(3/2)*(A+B*cos(d*x+c)+C*cos(d*x+c)^2)*sec(d*x+c)^(13/ 2),x,method=_RETURNVERBOSE)
-2/3465*a/d*(cos(d*x+c)-1)*((2688*cos(d*x+c)^5+1344*cos(d*x+c)^4+1008*cos( d*x+c)^3+840*cos(d*x+c)^2+735*cos(d*x+c)+315)*A+cos(d*x+c)*(2992*cos(d*x+c )^4+1496*cos(d*x+c)^3+1122*cos(d*x+c)^2+935*cos(d*x+c)+385)*B+cos(d*x+c)^2 *(3432*cos(d*x+c)^3+1716*cos(d*x+c)^2+1287*cos(d*x+c)+495)*C)*((1+cos(d*x+ c))*a)^(1/2)*sec(d*x+c)^(13/2)*cot(d*x+c)
Time = 0.28 (sec) , antiderivative size = 156, normalized size of antiderivative = 0.55 \[ \int (a+a \cos (c+d x))^{3/2} \left (A+B \cos (c+d x)+C \cos ^2(c+d x)\right ) \sec ^{\frac {13}{2}}(c+d x) \, dx=\frac {2 \, {\left (8 \, {\left (336 \, A + 374 \, B + 429 \, C\right )} a \cos \left (d x + c\right )^{5} + 4 \, {\left (336 \, A + 374 \, B + 429 \, C\right )} a \cos \left (d x + c\right )^{4} + 3 \, {\left (336 \, A + 374 \, B + 429 \, C\right )} a \cos \left (d x + c\right )^{3} + 5 \, {\left (168 \, A + 187 \, B + 99 \, C\right )} a \cos \left (d x + c\right )^{2} + 35 \, {\left (21 \, A + 11 \, B\right )} a \cos \left (d x + c\right ) + 315 \, A a\right )} \sqrt {a \cos \left (d x + c\right ) + a} \sin \left (d x + c\right )}{3465 \, {\left (d \cos \left (d x + c\right )^{6} + d \cos \left (d x + c\right )^{5}\right )} \sqrt {\cos \left (d x + c\right )}} \]
integrate((a+a*cos(d*x+c))^(3/2)*(A+B*cos(d*x+c)+C*cos(d*x+c)^2)*sec(d*x+c )^(13/2),x, algorithm="fricas")
2/3465*(8*(336*A + 374*B + 429*C)*a*cos(d*x + c)^5 + 4*(336*A + 374*B + 42 9*C)*a*cos(d*x + c)^4 + 3*(336*A + 374*B + 429*C)*a*cos(d*x + c)^3 + 5*(16 8*A + 187*B + 99*C)*a*cos(d*x + c)^2 + 35*(21*A + 11*B)*a*cos(d*x + c) + 3 15*A*a)*sqrt(a*cos(d*x + c) + a)*sin(d*x + c)/((d*cos(d*x + c)^6 + d*cos(d *x + c)^5)*sqrt(cos(d*x + c)))
Timed out. \[ \int (a+a \cos (c+d x))^{3/2} \left (A+B \cos (c+d x)+C \cos ^2(c+d x)\right ) \sec ^{\frac {13}{2}}(c+d x) \, dx=\text {Timed out} \]
Leaf count of result is larger than twice the leaf count of optimal. 1065 vs. \(2 (248) = 496\).
Time = 0.39 (sec) , antiderivative size = 1065, normalized size of antiderivative = 3.75 \[ \int (a+a \cos (c+d x))^{3/2} \left (A+B \cos (c+d x)+C \cos ^2(c+d x)\right ) \sec ^{\frac {13}{2}}(c+d x) \, dx=\text {Too large to display} \]
integrate((a+a*cos(d*x+c))^(3/2)*(A+B*cos(d*x+c)+C*cos(d*x+c)^2)*sec(d*x+c )^(13/2),x, algorithm="maxima")
4/3465*(21*(165*sqrt(2)*a^(3/2)*sin(d*x + c)/(cos(d*x + c) + 1) - 495*sqrt (2)*a^(3/2)*sin(d*x + c)^3/(cos(d*x + c) + 1)^3 + 1056*sqrt(2)*a^(3/2)*sin (d*x + c)^5/(cos(d*x + c) + 1)^5 - 1254*sqrt(2)*a^(3/2)*sin(d*x + c)^7/(co s(d*x + c) + 1)^7 + 781*sqrt(2)*a^(3/2)*sin(d*x + c)^9/(cos(d*x + c) + 1)^ 9 - 299*sqrt(2)*a^(3/2)*sin(d*x + c)^11/(cos(d*x + c) + 1)^11 + 46*sqrt(2) *a^(3/2)*sin(d*x + c)^13/(cos(d*x + c) + 1)^13)*A*(sin(d*x + c)^2/(cos(d*x + c) + 1)^2 + 1)^5/((sin(d*x + c)/(cos(d*x + c) + 1) + 1)^(13/2)*(-sin(d* x + c)/(cos(d*x + c) + 1) + 1)^(13/2)*(5*sin(d*x + c)^2/(cos(d*x + c) + 1) ^2 + 10*sin(d*x + c)^4/(cos(d*x + c) + 1)^4 + 10*sin(d*x + c)^6/(cos(d*x + c) + 1)^6 + 5*sin(d*x + c)^8/(cos(d*x + c) + 1)^8 + sin(d*x + c)^10/(cos( d*x + c) + 1)^10 + 1)) + 11*(315*sqrt(2)*a^(3/2)*sin(d*x + c)/(cos(d*x + c ) + 1) - 1155*sqrt(2)*a^(3/2)*sin(d*x + c)^3/(cos(d*x + c) + 1)^3 + 2184*s qrt(2)*a^(3/2)*sin(d*x + c)^5/(cos(d*x + c) + 1)^5 - 2586*sqrt(2)*a^(3/2)* sin(d*x + c)^7/(cos(d*x + c) + 1)^7 + 1759*sqrt(2)*a^(3/2)*sin(d*x + c)^9/ (cos(d*x + c) + 1)^9 - 611*sqrt(2)*a^(3/2)*sin(d*x + c)^11/(cos(d*x + c) + 1)^11 + 94*sqrt(2)*a^(3/2)*sin(d*x + c)^13/(cos(d*x + c) + 1)^13)*B*(sin( d*x + c)^2/(cos(d*x + c) + 1)^2 + 1)^5/((sin(d*x + c)/(cos(d*x + c) + 1) + 1)^(13/2)*(-sin(d*x + c)/(cos(d*x + c) + 1) + 1)^(13/2)*(5*sin(d*x + c)^2 /(cos(d*x + c) + 1)^2 + 10*sin(d*x + c)^4/(cos(d*x + c) + 1)^4 + 10*sin(d* x + c)^6/(cos(d*x + c) + 1)^6 + 5*sin(d*x + c)^8/(cos(d*x + c) + 1)^8 +...
Timed out. \[ \int (a+a \cos (c+d x))^{3/2} \left (A+B \cos (c+d x)+C \cos ^2(c+d x)\right ) \sec ^{\frac {13}{2}}(c+d x) \, dx=\text {Timed out} \]
integrate((a+a*cos(d*x+c))^(3/2)*(A+B*cos(d*x+c)+C*cos(d*x+c)^2)*sec(d*x+c )^(13/2),x, algorithm="giac")
Time = 8.00 (sec) , antiderivative size = 399, normalized size of antiderivative = 1.40 \[ \int (a+a \cos (c+d x))^{3/2} \left (A+B \cos (c+d x)+C \cos ^2(c+d x)\right ) \sec ^{\frac {13}{2}}(c+d x) \, dx=\frac {\sqrt {\frac {1}{\frac {{\mathrm {e}}^{-c\,1{}\mathrm {i}-d\,x\,1{}\mathrm {i}}}{2}+\frac {{\mathrm {e}}^{c\,1{}\mathrm {i}+d\,x\,1{}\mathrm {i}}}{2}}}\,\left (-\frac {16\,C\,a\,{\mathrm {e}}^{\frac {c\,11{}\mathrm {i}}{2}+\frac {d\,x\,11{}\mathrm {i}}{2}}\,\sin \left (\frac {5\,c}{2}+\frac {5\,d\,x}{2}\right )\,\sqrt {a+a\,\cos \left (c+d\,x\right )}}{3\,d}-\frac {16\,a\,{\mathrm {e}}^{\frac {c\,11{}\mathrm {i}}{2}+\frac {d\,x\,11{}\mathrm {i}}{2}}\,\sin \left (\frac {c}{2}+\frac {d\,x}{2}\right )\,\sqrt {a+a\,\cos \left (c+d\,x\right )}\,\left (12\,A+18\,B+23\,C\right )}{15\,d}+\frac {16\,a\,{\mathrm {e}}^{\frac {c\,11{}\mathrm {i}}{2}+\frac {d\,x\,11{}\mathrm {i}}{2}}\,\sin \left (\frac {3\,c}{2}+\frac {3\,d\,x}{2}\right )\,\sqrt {a+a\,\cos \left (c+d\,x\right )}\,\left (84\,A+76\,B+81\,C\right )}{35\,d}+\frac {16\,a\,{\mathrm {e}}^{\frac {c\,11{}\mathrm {i}}{2}+\frac {d\,x\,11{}\mathrm {i}}{2}}\,\sin \left (\frac {7\,c}{2}+\frac {7\,d\,x}{2}\right )\,\sqrt {a+a\,\cos \left (c+d\,x\right )}\,\left (336\,A+374\,B+429\,C\right )}{315\,d}+\frac {32\,a\,{\mathrm {e}}^{\frac {c\,11{}\mathrm {i}}{2}+\frac {d\,x\,11{}\mathrm {i}}{2}}\,\sin \left (\frac {11\,c}{2}+\frac {11\,d\,x}{2}\right )\,\sqrt {a+a\,\cos \left (c+d\,x\right )}\,\left (336\,A+374\,B+429\,C\right )}{3465\,d}\right )}{20\,{\mathrm {e}}^{\frac {c\,11{}\mathrm {i}}{2}+\frac {d\,x\,11{}\mathrm {i}}{2}}\,\cos \left (\frac {c}{2}+\frac {d\,x}{2}\right )+20\,{\mathrm {e}}^{\frac {c\,11{}\mathrm {i}}{2}+\frac {d\,x\,11{}\mathrm {i}}{2}}\,\cos \left (\frac {3\,c}{2}+\frac {3\,d\,x}{2}\right )+10\,{\mathrm {e}}^{\frac {c\,11{}\mathrm {i}}{2}+\frac {d\,x\,11{}\mathrm {i}}{2}}\,\cos \left (\frac {5\,c}{2}+\frac {5\,d\,x}{2}\right )+10\,{\mathrm {e}}^{\frac {c\,11{}\mathrm {i}}{2}+\frac {d\,x\,11{}\mathrm {i}}{2}}\,\cos \left (\frac {7\,c}{2}+\frac {7\,d\,x}{2}\right )+2\,{\mathrm {e}}^{\frac {c\,11{}\mathrm {i}}{2}+\frac {d\,x\,11{}\mathrm {i}}{2}}\,\cos \left (\frac {9\,c}{2}+\frac {9\,d\,x}{2}\right )+2\,{\mathrm {e}}^{\frac {c\,11{}\mathrm {i}}{2}+\frac {d\,x\,11{}\mathrm {i}}{2}}\,\cos \left (\frac {11\,c}{2}+\frac {11\,d\,x}{2}\right )} \]
int((1/cos(c + d*x))^(13/2)*(a + a*cos(c + d*x))^(3/2)*(A + B*cos(c + d*x) + C*cos(c + d*x)^2),x)
((1/(exp(- c*1i - d*x*1i)/2 + exp(c*1i + d*x*1i)/2))^(1/2)*((16*a*exp((c*1 1i)/2 + (d*x*11i)/2)*sin((3*c)/2 + (3*d*x)/2)*(a + a*cos(c + d*x))^(1/2)*( 84*A + 76*B + 81*C))/(35*d) - (16*a*exp((c*11i)/2 + (d*x*11i)/2)*sin(c/2 + (d*x)/2)*(a + a*cos(c + d*x))^(1/2)*(12*A + 18*B + 23*C))/(15*d) - (16*C* a*exp((c*11i)/2 + (d*x*11i)/2)*sin((5*c)/2 + (5*d*x)/2)*(a + a*cos(c + d*x ))^(1/2))/(3*d) + (16*a*exp((c*11i)/2 + (d*x*11i)/2)*sin((7*c)/2 + (7*d*x) /2)*(a + a*cos(c + d*x))^(1/2)*(336*A + 374*B + 429*C))/(315*d) + (32*a*ex p((c*11i)/2 + (d*x*11i)/2)*sin((11*c)/2 + (11*d*x)/2)*(a + a*cos(c + d*x)) ^(1/2)*(336*A + 374*B + 429*C))/(3465*d)))/(20*exp((c*11i)/2 + (d*x*11i)/2 )*cos(c/2 + (d*x)/2) + 20*exp((c*11i)/2 + (d*x*11i)/2)*cos((3*c)/2 + (3*d* x)/2) + 10*exp((c*11i)/2 + (d*x*11i)/2)*cos((5*c)/2 + (5*d*x)/2) + 10*exp( (c*11i)/2 + (d*x*11i)/2)*cos((7*c)/2 + (7*d*x)/2) + 2*exp((c*11i)/2 + (d*x *11i)/2)*cos((9*c)/2 + (9*d*x)/2) + 2*exp((c*11i)/2 + (d*x*11i)/2)*cos((11 *c)/2 + (11*d*x)/2))